<?php
namespace Twoir\System\Model;

use Twoir\System\Support\ParseTrait;
use Twoir\System\Support\SingleTrait;

/***
 * 会员组表
 *
 * 【注意事项】有增减字段，请更新 字段：FIELD和默认值：MYDEFAULT，没有更新请勿动！！！
 * cighsen02 365182575
 * time: 2024.05.01
*/
class EnewsMemberGroup
{
	use ParseTrait, SingleTrait;

	const TABLE = 'enewsmembergroup';

	//主键字段
	const PRIMARY = 'groupid';

	//字段
	const FIELD = [
		'groupid','groupname','level','checked','favanum','daydown','msglen','msgnum','canreg','formid','regchecked','spacestyleid','dayaddinfo','infochecked','plchecked'
	];

	/**
	 * 默认值， null为自动增加字段
	 */
	const MYDEFAULT = [
	    'groupid'		=> null,
		'groupname'		=> '',
		'level'			=> 0,
		'checked'		=> 0,
		'favanum'		=> 0,
		'daydown'		=> 0,
		'msglen'		=> 0,
		'msgnum'		=> 0,
		'canreg'		=> 0,
		'formid'		=> 0,
		'regchecked'	=> 0,
		'spacestyleid'	=> 0,
		'dayaddinfo'	=> 0,
		'infochecked'	=> 0,
		'plchecked'		=> 0
	];
}
